﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PermissionFrm.aspx.cs"
    Inherits="WebApp.PermissionFrm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    </form>
    <form id="fm">
    <div class="easyui-panel" title="当前角色" style="width: auto; height: 80px; padding: 10px;">
        选择角色：<input class="easyui-combobox" id="eRole" data-options="valueField:'Value',textField:'Name',onSelect:onRoleSelect"
            style="width: 150px;" required="true">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'" id="btnSave"
            onclick="saveData()">授权</a></div>
    <table id="dg" class="easyui-datagrid" title="角色操作授权" style="width: auto; height: auto"
        data-options="
iconCls: 'icon-edit',
singleSelect: true,
toolbar: '#tb',
url: 'datagrid_data1.json',
method: 'get',
onClickRow: onClickRow
">
        <thead>
            <tr>
                <th data-options="field:'itemid',width:80">
                    Item ID
                </th>
                <th data-options="field:'status',width:60,align:'center',editor:{type:'checkbox',options:{on:'P',off:''}}">
                    Status
                </th>
            </tr>
        </thead>
    </table>
    </form>
</body>
</html>
